package com.creative.accountsdk;

import android.text.TextUtils;

import org.json.JSONObject;

/**
 * Created by wang_qian on 2015/12/2.
 */
public class ClassInfo {
    public int classId;
    public String className;

    public ClassInfo setJsonToVo(JSONObject json){

        classId = json.optInt("id");
        className = json.optString("name");

        return this;
    }
}
